package com.example.test10mvc.socket;

/**
 * 枚举描述:　不同页面区分webSocket
 *
 * @author fbl
 * @date 2019-12-12 09:34
 */
public enum WebSocketEnum {

    /**
     * 温度传感器
     */
    SOCKET_ENUM_TEST("test","测试"),
    /**
     * 实时报警
     */
    SOCKET_ENUM_ALARM("alarm","实时报警");




    private String code;
    private String msg;

    WebSocketEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }
    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}

